 <template>
  <div class="item">
    <i>
      <slot name="icon"></slot>
    </i>
    <div class="details">
      <h3>
        <slot name="heading"></slot>
      </h3>
      <slot></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: 'WelcomeItem',
  props: {
    icon: String,
    heading: String
  }
}
</script>

<style scoped>
.item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
i {
  font-size: 24px;
  margin-right: 10px;
}
</style>